package com.baizhi.springcloud;


import org.mybatis.spring.annotation.MapperScan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@SpringBootApplication
@MapperScan("com.baizhi.springcloud.dao")
@EnableEurekaClient//在服务启动后自动注册到zureka中
@EnableDiscoveryClient//服务发现

public class DeptConfig_8001 {
    public static void main(String[] args){
        SpringApplication.run(DeptConfig_8001.class,args);
    }


}
